<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改密码</title>
</head>
<body>
    账号<input type="text" name="username" disabled="disabled">
    原密码<input type="text" name="password">
    新密码<input type="text" name="newPassword">
    <button @click="updatePassword()">确定</button>
</body>
<script src="../js/vue.js"></script>
<script src="../plugins/elementui/index.js"></script>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script src="../js/axios-0.18.0.js"></script>
<script>
    new Vue({
        el:"#app",
        data:{
            username:"",
        },
        created(){
            var url = document.location.toString();
            alert(url);
            // var u = url.split("?")[1];

        }
    });
</script>
</html>